package com.group.www.pojo;

import java.io.Serializable;

public class CategoryInfo implements Serializable {
    private Integer categoryid;

    private String categoryname;

    private static final long serialVersionUID = 1L;

    public Integer getCategoryid() {
        return categoryid;
    }

    public void setCategoryid(Integer categoryid) {
        this.categoryid = categoryid;
    }

    public String getCategoryname() {
        return categoryname;
    }

    public void setCategoryname(String categoryname) {
        this.categoryname = categoryname == null ? null : categoryname.trim();
    }

    public CategoryInfo() {
    }
    public CategoryInfo(Integer categoryid){
        this.categoryid=categoryid;
    }
    public CategoryInfo(Integer categoryid, String categoryname) {
        this.categoryid = categoryid;
        this.categoryname = categoryname;
    }

    @Override
    public String toString() {
        return "CategoryInfo{" +
                "categoryid=" + categoryid +
                ", categoryname='" + categoryname + '\'' +
                '}';
    }
}